<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<script>
    var age = window.prompt("please enter age");
    if (age < 14){
        alert("Children")
    }else if (age >=14 && age < 24){
        alert("Teenger")
    }
</script>
</body>
</html>